import { request } from '@/utils/request'
// 获取村龄
export function getages (cookie) {
  return request({
    url: `/user/account?cookie=${cookie}`
  })
}

// 修改更新资料
export function updatainfo (signature, nickname, birthday, gender, cookie) {
  return request({
    url: `/user/update?gender=${gender}&signature=${signature}&city=421000&nickname=${nickname}&birthday=${birthday}&province=430000&cookie=${cookie}`
  })
}
